package com.eduran.test.model;

import org.springframework.stereotype.Component;

@Component
public class Robot_033 {
    private String id = "Default Robot";
    private String speech = "Hello";

    public void speak(){
        System.out.println(id + ": " + speech);
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setSpeech(String speech) {
        this.speech = speech;
    }
}
